home *** CD-ROM | disk | FTP | other *** search
- /*
- * Source machine generated by GadToolsBox V2.0b
- * which is (c) Copyright 1991-1993 Jaba Development
- *
- * GUI Designed by : -- Unnamed --
- */
-
- #define GetString( g ) ((( struct StringInfo * )g->SpecialInfo )->Buffer )
- #define GetNumber( g ) ((( struct StringInfo * )g->SpecialInfo )->LongInt )
-
- #define GD_OptWidth 0
- #define GD_OptHeight 1
- #define GD_OptXOff 2
- #define GD_OptYOff 3
- #define GD_OptXDPI 4
- #define GD_OptYDPI 5
- #define GD_OptStartUp 6
- #define GD_OptNew 7
- #define GD_OptDel 8
- #define GD_OptFonts 9
- #define GD_OptHtone 10
- #define GD_OptVM 11
- #define GD_OptPaths 12
- #define GD_OptSave 13
- #define GD_OptUse 14
- #define GD_OptCancel 15
- #define GD_OptColor 16
- #define GD_OptPrDen 17
- #define GD_OptIff 18
- #define GD_OptFrom 19
- #define GD_OptTo 20
- #define GD_OptAllPages 21
- #define GD_OptGetIff 22
- #define GD_OptFF 23
- #define GD_OptCenter 24
- #define GD_OptBand 25
- #define GD_OptBandrender 26
- #define GD_OptGraphiccard 27
- #define GD_OptTemppath 28
- #define GD_OptBuffer 29
-
- #define GDX_OptWidth 0
- #define GDX_OptHeight 1
- #define GDX_OptXOff 2
- #define GDX_OptYOff 3
- #define GDX_OptXDPI 4
- #define GDX_OptYDPI 5
- #define GDX_OptStartUp 6
- #define GDX_OptNew 7
- #define GDX_OptDel 8
- #define GDX_OptFonts 9
- #define GDX_OptHtone 10
- #define GDX_OptVM 11
- #define GDX_OptPaths 12
- #define GDX_OptSave 13
- #define GDX_OptUse 14
- #define GDX_OptCancel 15
- #define GDX_OptColor 16
- #define GDX_OptPrDen 17
- #define GDX_OptIff 18
- #define GDX_OptFrom 19
- #define GDX_OptTo 20
- #define GDX_OptAllPages 21
- #define GDX_OptGetIff 22
- #define GDX_OptFF 23
- #define GDX_OptCenter 24
- #define GDX_OptBand 25
- #define GDX_OptBandrender 26
- #define GDX_OptGraphiccard 27
- #define GDX_OptTemppath 28
- #define GDX_OptBuffer 29
-
- #define GD_PubScreenLV 0
- #define GD_CPSCancel 1
- #define GD_CPSOk 2
-
- #define GDX_PubScreenLV 0
- #define GDX_CPSCancel 1
- #define GDX_CPSOk 2
-
- #define GD_GotoPage 0
-
- #define GDX_GotoPage 0
-
- #define Options_CNT 30
- #define ChoosePS_CNT 3
- #define GotoPage_CNT 1
-
- extern struct IntuitionBase *IntuitionBase;
- extern struct Library *GadToolsBase;
-
- extern struct Screen *Scr;
- extern UBYTE *PubScreenName;
- extern APTR VisualInfo;
- extern struct Window *OptionsWnd;
- extern struct Window *ChoosePSWnd;
- extern struct Window *GotoPageWnd;
- extern struct Gadget *OptionsGList;
- extern struct Gadget *ChoosePSGList;
- extern struct Gadget *GotoPageGList;
- extern struct Menu *MenuMenus;
- extern struct Menu *OptionsMenus;
- extern struct IntuiMessage OptionsMsg;
- extern struct IntuiMessage ChoosePSMsg;
- extern struct IntuiMessage GotoPageMsg;
- extern struct Gadget *OptionsGadgets[30];
- extern struct Gadget *ChoosePSGadgets[3];
- extern struct Gadget *GotoPageGadgets[1];
- extern struct IClass *getClass;
- extern struct _Object *getImage;
- extern UWORD OptionsLeft;
- extern UWORD OptionsTop;
- extern UWORD OptionsWidth;
- extern UWORD OptionsHeight;
- extern UWORD ChoosePSLeft;
- extern UWORD ChoosePSTop;
- extern UWORD ChoosePSWidth;
- extern UWORD ChoosePSHeight;
- extern UWORD GotoPageLeft;
- extern UWORD GotoPageTop;
- extern UWORD GotoPageWidth;
- extern UWORD GotoPageHeight;
- extern UBYTE *OptionsWdt;
- extern UBYTE *ChoosePSWdt;
- extern UBYTE *GotoPageWdt;
- extern struct TextAttr *Font, Attr;
- extern UWORD FontX, FontY;
- extern UWORD OffX, OffY;
- extern UBYTE *OptColor0Labels[];
- extern UBYTE *OptPrDen0Labels[];
- extern struct NewMenu MenuNewMenu[];
- extern struct NewMenu OptionsNewMenu[];
- extern UWORD OptionsGTypes[];
- extern UWORD ChoosePSGTypes[];
- extern UWORD GotoPageGTypes[];
- extern struct NewGadget OptionsNGad[];
- extern struct NewGadget ChoosePSNGad[];
- extern struct NewGadget GotoPageNGad[];
- extern ULONG OptionsGTags[];
- extern ULONG ChoosePSGTags[];
- extern ULONG GotoPageGTags[];
-
- extern int OptWidthClicked( void );
- extern int OptHeightClicked( void );
- extern int OptXOffClicked( void );
- extern int OptYOffClicked( void );
- extern int OptXDPIClicked( void );
- extern int OptYDPIClicked( void );
- extern int OptStartUpClicked( void );
- extern int OptNewClicked( void );
- extern int OptDelClicked( void );
- extern int OptFontsClicked( void );
- extern int OptHtoneClicked( void );
- extern int OptVMClicked( void );
- extern int OptPathsClicked( void );
- extern int OptSaveClicked( void );
- extern int OptUseClicked( void );
- extern int OptCancelClicked( void );
- extern int OptColorClicked( void );
- extern int OptPrDenClicked( void );
- extern int OptIffClicked( void );
- extern int OptFromClicked( void );
- extern int OptToClicked( void );
- extern int OptAllPagesClicked( void );
- extern int OptGetIffClicked( void );
- extern int OptFFClicked( void );
- extern int OptCenterClicked( void );
- extern int OptBandClicked( void );
- extern int OptBandrenderClicked( void );
- extern int OptGraphiccardClicked( void );
- extern int OptTemppathClicked( void );
- extern int OptBufferClicked( void );
- extern int PubScreenLVClicked( void );
- extern int CPSCancelClicked( void );
- extern int CPSOkClicked( void );
- extern int GotoPageClicked( void );
- extern int MenuNew( void );
- extern int MenuClear( void );
- extern int MenuOpen( void );
- extern int MenuRun( void );
- extern int MenuFont( void );
- extern int MenuIff( void );
- extern int MenuPrint( void );
- extern int MenuAbout( void );
- extern int MenuQuit( void );
- extern int MenuPause( void );
- extern int MenuNext( void );
- extern int MenuPrevious( void );
- extern int MenuGoto( void );
- extern int MenuInterrupt( void );
- extern int MenuKill( void );
- extern int MenuInteractive( void );
- extern int MenuPubScreen( void );
- extern int MenuCustomScreen( void );
- extern int MenuOptions( void );
-
- extern int SetupScreen( void );
- extern void CloseDownScreen( void );
- extern int HandleOptionsIDCMP( void );
- extern int OptionsCloseWindow( void );
- extern int OptionsVanillaKey( void );
- extern int OpenOptionsWindow( void );
- extern void CloseOptionsWindow( void );
- extern int HandleChoosePSIDCMP( void );
- extern int ChoosePSCloseWindow( void );
- extern int ChoosePSVanillaKey( void );
- extern int OpenChoosePSWindow( void );
- extern void CloseChoosePSWindow( void );
- extern int HandleGotoPageIDCMP( void );
- extern int GotoPageCloseWindow( void );
- extern int OpenGotoPageWindow( void );
- extern void CloseGotoPageWindow( void );
- extern int OptionsMenuOpen( void );
- extern int OptionsMenuSave( void );
- extern int OptionsMenuDefaults( void );
- extern int OptionsMenuLastSaved( void );
-